From: Jasper St. Pierre Date: Thu, 27 Oct 2011 17:52:17 +0000 (-0400) Subject: messageTray: Reduce the scroll view fade X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7350 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=18541c447e30154e7bd5806e11e3fe70fb9d5887;p=gnome-shell.git messageTray: Reduce the scroll view fade https://bugzilla.gnome.org/show_bug.cgi?id=662226 --- diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 0e0986683..ea8187016 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -1217,6 +1217,7 @@ StTooltip StLabel { #notification-scrollview { max-height: 10em; + -st-vfade-offset: 24px; } #notification-scrollview > .top-shadow, #notification-scrollview > .bottom-shadow { diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 75eb9f9ea..ca12fb1a0 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -597,8 +597,7 @@ Notification.prototype = { this._table.add_style_class_name('multi-line-notification'); this._scrollArea = new St.ScrollView({ name: 'notification-scrollview', vscrollbar_policy: this._scrollPolicy, - hscrollbar_policy: Gtk.PolicyType.NEVER, - style_class: 'vfade' }); + hscrollbar_policy: Gtk.PolicyType.NEVER }); this._table.add(this._scrollArea, { row: 1, col: 2 }); this._updateLastColumnSettings();